Moderate: opensc security, bug fix, and enhancement update

Synopsis

Moderate: opensc security, bug fix, and enhancement update

Type/Severity

Security Advisory: Moderate

Topic

An update for opensc is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

The OpenSC set of libraries and utilities provides support for working with smart cards. OpenSC focuses on cards that support cryptographic operations and enables their use for authentication, mail encryption, or digital signatures.

The following packages have been upgraded to a later upstream version: opensc (0.20.0). (BZ#1810660)

Security Fix(es):

  • opensc: Out-of-bounds access of an ASN.1 Bitstring in decode_bit_string in libopensc/asn1.c (CVE-2019-15945)
  • opensc: Out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry in libopensc/asn1.c (CVE-2019-15946)
  • opensc: Improper handling of buffer limits for CAC certificates (CVE-2019-19481)
  • opensc: Double free in coolkey_free_private_data in libopensc/card-coolkey.c (CVE-2019-20792)
  • opensc: Incorrect read operation during parsing of a SETCOS file attribute (CVE-2019-19479)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.3 Release Notes linked from the References section.

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • Red Hat Enterprise Linux for x86_64 8 x86_64
  • Red Hat Enterprise Linux for IBM z Systems 8 s390x
  • Red Hat Enterprise Linux for Power, little endian 8 ppc64le
  • Red Hat Enterprise Linux for ARM 64 8 aarch64

Fixes

  • BZ - 1765222 - CVE-2019-15945 opensc: Out-of-bounds access of an ASN.1 Bitstring in decode_bit_string in libopensc/asn1.c
  • BZ - 1765229 - CVE-2019-15946 opensc: Out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry in libopensc/asn1.c
  • BZ - 1782519 - CVE-2019-19479 opensc: Incorrect read operation during parsing of a SETCOS file attribute
  • BZ - 1782955 - CVE-2019-19481 opensc: Improper handling of buffer limits for CAC certificates
  • BZ - 1810660 - Rebase OpenSC to address security issues
  • BZ - 1830856 - opensc - support of CardOS 5.0 and 5.3 cards broken in 0.20.0
  • BZ - 1837946 - CVE-2019-20792 opensc: Double free in coolkey_free_private_data in libopensc/card-coolkey.c

CVEs

References